export default {
  namespaced: true, // 开启命名空
  state () {
    return {
      lisi: '是不是傻',
      profile: { token: '' }
    }
  },
  mutations: {
    getInfo (state, payload) {
      state.lisi = payload
    }
  },
  actions: {
    handelInfo ({ commit }, payload) {
      setTimeout(() => {
        commit('getInfo', payload)
      }, 500)
    }
  }
}
